import { createRouter, createWebHashHistory } from 'vue-router'
import chat from '../views/chat.vue'
import painting from '../views/painting.vue'
import picture from '../views/picture.vue'
import test from '../views/test.vue'

const routes = [
  {
    path: '/',
    name: 'chat',
    component: chat,
  },
  {
    path: '/painting',
    name: 'painting',
    component: painting
  },
  {
    path: '/picture',
    name: 'picture',
    component: picture
  },
  {
    path: '/test',
    name: 'test',
    component: test
  },
]

const router = createRouter({
  history : createWebHashHistory(),
  routes
})

export default router
